<%--
  Created by IntelliJ IDEA.
  User: dana
  Date: 2016/10/16
  Time: 16:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../inc/top.jsp"%>
<script src="${CONTEXTPATH}/admin/static/template/js/installtemplate.js"></script>
<div class="panel-body">
    <form class="form-horizontal" id="installTemplate" name="installTemplate" action="${CONTEXTPATH}/Template/InstallTemplate.press" enctype="multipart/form-data" method="post" onsubmit="return checkifhasfile();">
        <div class="form-group">
            <label class="col-md-2 control-label">模板文件</label>
            <div class="col-md-4">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-file"></i>
									</span>
                    <input type="file" class="" name="uploadtemplatefile" id="uploadtemplatefile">
                </div>
            </div>
            <div class="col-sm-6">
                <p class="help-block">只能上传 .zip 格式的模板（主题）。</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label">&nbsp;</label>
            <div class="col-md-4">
                <button type="submit" class="btn btn-success" style="width: 95%;" >现在安装</button>
            </div>
        </div>

    </form>
</div>
<%@include file="../inc/bottom.jsp"%>